//
//  LGItem.h
//  微博
//
//  Created by MS on 15-12-27.
//  Copyright (c) 2015年 MS. All rights reserved.
//

#import <Foundation/Foundation.h>
@class LGItem;

typedef void(^ItemClickBlok)(LGItem * item);

@interface LGItem : NSObject
/**
 *  左边图片
 */
@property (nonatomic,strong) UIImage * image;
/**
 *  主标题
 */
@property (nonatomic,copy) NSString * title;
/**
 *  副标题
 */
@property (nonatomic,copy) NSString * subTitle;
/**
 *  点击要跳转的控制器名称
 */
@property (nonatomic,assign) Class  jumpClass;

@property (nonatomic,copy) ItemClickBlok option;

+(instancetype)itemWithImage:(UIImage *)image title:(NSString *)title subTitle:( NSString * )subTitle;
+(instancetype)itemWithImage:(UIImage *)image title:(NSString *)title ;

+(instancetype)itemWithTitle:(NSString *)title subTitle:( NSString * )subTitle;
+(instancetype)itemWithTitle:(NSString *)title ;

@end
